define(['durandal/system'],function (system) {
	var childView='app-main/parent-and-children/modules/second/index';
	var prefix='第一层：';
	
	return  {
		childView:childView,
		getView:function(){
			system.log('%clife%s-getView','color:red;',prefix);
		},
		activate: function() {
			system.log('%clife%s-activate','color:red;',prefix);
		},
		binding: function(child, parent, settings) {
			system.log('%clife%s-binding','color:red;',prefix);
		},
		bindingComplete: function() {
			system.log('%clife%s-bindingComplete','color:red;',prefix);
		},
		attached: function(child, parent, settings) {
			system.log('%clife%s-attached','color:red;',prefix);
		},
		compositionComplete: function(child, parent, settings) {
			system.log('%clife%s-compositionComplete','color:red;',prefix);
		},
		detached: function() {
			system.log('%clife%s-detached','color:red;',prefix);
		}
	}
})